package cn.kgc.springbootvuefaq.service;

import cn.kgc.springbootvuefaq.pojo.ClassesFaqs;
import cn.kgc.springbootvuefaq.pojo.Faqs;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FaqsService {

    public PageInfo<ClassesFaqs> queryAll(Integer classId, Integer pageNum, Integer PageSize);

    public int Add(Faqs faqs);

    public ClassesFaqs queryByid(Integer id);

    public List<Faqs> queryByName(String title);
}
